package Main;

 
import java.io.*;
import java.awt.*;
import javax.swing.*;

class IntroPane extends JFrame {

    JLabel titulo;
    JLabel fondo;
    Container c;


    public IntroPane() {
        setTitle("OPEN FLIGHT 0.57.1");
        ImageIcon i = new ImageIcon("Imagenes/intro.jpg");
        fondo = new JLabel(new ImageIcon(i.getImage().getScaledInstance(600, 500, Image.SCALE_SMOOTH)));
        titulo = new JLabel("");
        fondo.setBounds(0, 0, 600, 500);
        c = getContentPane();
        c.setLayout(null);
        c.add(fondo);
        setBounds(220, 120, 600, 500);
        setUndecorated(true);
        getRootPane().setWindowDecorationStyle(0);
        setDefaultCloseOperation(DO_NOTHING_ON_CLOSE);
        setResizable(false);
        setVisible(true);
    }


}
